/** bcmi_frame null task
 *
 *  bcmi_frame null task
 *
 *  @author : huicong
 *  @date : 2008-11-03
 *
 */

#ifndef _DEFAULT_NULL_TASK_H
#define _DEFAULT_NULL_TASK_H

#include "FrameTask.h"

namespace bcmi_frame
{

    /**  The task instance but do nothing
     *
     */
    class DefaultNullTask : public FrameTask
    {
    public:
        DefaultNullTask()
        {
        }

        ~DefaultNullTask()
        {
        }

    public:

        STRING nextTaskName() const
        {
            return __FRAME_FIN_TASK_NAME;
        }

        HRESULT execute()
        {
            return H_OK;
        }

        HRESULT masterHandler()
        {
            return H_OK;
        }

        HRESULT initialize()
        {
            return H_OK;
        }

        HRESULT finalize()
        {
            return H_OK;
        }
    };

}; //using namespace bcmi_frame

#endif //#ifndef _DEFAULT_NULL_TASK_H